from config import URL

class LoginApi(object):
    get_url = URL + "/index.php?m=Admin&c=Admin&a=vertify&r=42"
    post_url = URL + "/index.php?m=Admin&c=Admin&a=login&t=0.8524129557133638"

    @classmethod
    def get_vertify(cls,session):
        session.get(cls.get_url)

    @classmethod
    def login(cls,session,from_data):
        resp = session.post(cls.post_url,data=from_data)
        return resp